.home-nav
{
    width: 100%;
    height: 50px;
    display: flex;
}
.home-title
{
   font-size: 22px;
   font-weight: 600;
   display: flex;
   align-items: center;
   justify-content: center;
}
.home-bar
{
width: 300px;
margin-left: 500px;
display: flex;
}
.home-bar-element
{
font-size: 13px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 30px;
width: 60px;
white-space: nowrap;
}
.home-bar-element:hover
{
    transform: scale(1.2);
    color: #bfdbfe;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
  }
  
  .popup-content {
    background-color: white;
    z-index: 99;
  }
  .close-div
  {
   top: 40%;
   left: 70%;
   position: absolute;
   font-size: 22px;
  }
  .body
  {
    height: 120vh;
    background-color: #f0f0f0;
  }
  .contain
  {
    width: 90%;
    left: 5%;
    height: 110vh;
    top: 130px;
    position: absolute;
    background-color: white;
    border-radius: 10px;
  }
  .course-name-title
  {
    margin-top: 30px;
    margin-left: 50px;
    color: #ff8246;
    font-size: 30px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
  .course-video
  {
    width: 1100px;
    height: 800px;
    margin-top: 80px;
    margin-left: 100px;
    display:flex;
    align-items: center;
    justify-content: center;

    .video{
     margin:20 auto;
    }
  }
  .reccommend
  {
    width: 20%;
    height: 60vh;
    left: 75%;
    top: 80px;
    position: absolute;
  }
  .reccommend-video
  {
    width: 320px;
    height: 140px;
    margin-top: 20px;
  }
  .reccommend-video:hover
  {
    transform: scale(1.1);
  }
  .review
  {
    border:1px solid #ff8246;
    border-radius: 20px;
    width: 600px;
    height: 40px;
    margin-left: 30px;
  }
  .username {
    background-color: gray;
    color: white;
        width: auto;
        margin-bottom: 20px;
        border-bottom-left-radius:10px;
        border-bottom-right-radius:20px ;
        border-top-left-radius: 10px;
        border-top-right-radius: 20px;
       
      
      }
      .barrage-item {
        position: absolute;
        white-space: nowrap;
        animation: moveBarrage 10s linear;
        animation-fill-mode: forwards;
        top: 200px;
        left: 100px;
        transform: translateX(0); /* 设置初始的水平偏移量为0 */
        font-size: 25px;
      }
      
      @keyframes moveBarrage {
        0% {
          transform: translateX(0); /* 弹幕的初始位置 */
          opacity: 1;
        }
        100% {
          transform: translateX(900px); 
          opacity: 0;
        }
      }
      .course-iconNav
      {
        display: flex;
        width: 60%;
        height: 50px;
        margin-left: 120px;
        margin-top: 20px;
        color: gray;
        font-size: 14px;
      }
      .icon-img
      {
        width: 40px;
        height: 40px;
        margin-left: 30px;
        margin-right: 10px;
      }